<div class="am-offcanvas-bar admin-offcanvas-bar left-style" >
   
	<div class="am-g admin-style">
        <div class="am-u-sm-4">
            <a href="#" class="am-icon-btn am-secondary  am-icon-drupal"></a>
        </div>
        <div class="am-u-sm-8">
            {$ADMIN_NAME}
            <br/>
            <a style="cursor:pointer;" title="退出" href="{:U('Public/logout')}"><span class="am-icon-power-off"></span></a>
            &nbsp; <a style="cursor:pointer;" title="修改密码" href="{:U('Index/updatePassword')}"><span class="am-icon-lock"></span></a>
        </div>
    </div>
    <ul class="am-list" >
        <foreach name="__MENU__['_child']" item="sub_menu">
            <notempty name="sub_menu">
            <li>
            <a href="{$sub_menu.menu_url|U}"><span class="{$sub_menu.menu_icon|default=''}">&nbsp;</span>{$sub_menu.menu_name}<span class="{$sub_menu.menu_style|default=''}"></span></a>
            <foreach name="sub_menu['_child']" item="menuname">
                <li class="am-margin-horizontal">
                    <a href="{$menuname.menu_url|U}"><span class="{$menuname.menu_icon|default=''}">&nbsp;</span>{$menuname.menu_name}<span class="{$menuname.menu_style|default=''}"></span></a>
                </li>
            </foreach>
            </notempty>
        </li>
        </foreach>
    </ul>
</div>
